
package org.springblade.modules.videoanswer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 视频题库表实体类
 *
 * @author jiangyandong
 * @since 2021-03-24
 */
@Data
@TableName("rrm_question")
@ApiModel(value = "Question对象", description = "视频题库表")
public class Question extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
    /**
     * 视频ID
     */
    @ApiModelProperty(value = "视频ID")
    private Integer videoId;
    /**
     * 类型（单选、多选）
     */
    @ApiModelProperty(value = "类型（1单选、2多选）")
    private Integer questionType;
    /**
     * 问题
     */
    @ApiModelProperty(value = "问题")
    private String subject;


}
